Brion Vibber [Wed, 19 Mar 2008 23:43:26 +0000 (23:43 +0000)]
fix regression in page history, where sometimes the last link would need to generate an 'oldid=prev' link but called a bogus variable
Brion Vibber [Wed, 19 Mar 2008 23:20:01 +0000 (23:20 +0000)]
if we get a bad cat, spit a warning and *continue* processing the rest of the wiki :)
Brion Vibber [Wed, 19 Mar 2008 23:19:37 +0000 (23:19 +0000)]
fix regression in XHTML validity
Raimond Spekking [Wed, 19 Mar 2008 22:41:24 +0000 (22:41 +0000)]
Localisation updates German
Brion Vibber [Wed, 19 Mar 2008 22:25:20 +0000 (22:25 +0000)]
Handy script to manually run a single sql patch file, with all the necessary options expanded (prefix, charset, etc).
Commands like 'php maintenance/patchSql.php updatelog category'
Huji [Wed, 19 Mar 2008 20:56:39 +0000 (20:56 +0000)]
* Adding/updating Persian translations
* Updating messages.inc to let RebuildLanguage work correctly with the newly added message block
Alexandre Emsenhuber [Wed, 19 Mar 2008 19:55:26 +0000 (19:55 +0000)]
Rewrite a bit the MediaWiki class:
* Document function parameter and undocumented functions
* Move use of global settings to localized one setted in index.php
* fix whitespaces
* Use __METHOD__ instead of hardcoded method names
* Call MediaWiki::articleFromTitle() staticly
Aaron Schulz [Wed, 19 Mar 2008 18:42:09 +0000 (18:42 +0000)]
Populate rc_deleted
Aaron Schulz [Wed, 19 Mar 2008 18:09:20 +0000 (18:09 +0000)]
rev_deleted merge:
*Hide deleted content
*Add show/hide links
Raimond Spekking [Wed, 19 Mar 2008 16:58:56 +0000 (16:58 +0000)]
* (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
* Add a link on the image description page to Special:FileDuplicateSearch/filename.ext
Aryeh Gregor [Wed, 19 Mar 2008 15:53:48 +0000 (15:53 +0000)]
Fix an error for categories named literally "Project:" or some similarly weird thing. I thought that's not a legal title, but I'm told otherwise. Is there a better way to do this than manually prefixing "Category:"? The second parameter to newFromText is ignored if there are any prefixes, according to the docs.
Greg Sabino Mullane [Wed, 19 Mar 2008 14:27:00 +0000 (14:27 +0000)]
Wrong index, should be unique. Thanks Simmetrical.
Huji [Wed, 19 Mar 2008 14:18:00 +0000 (14:18 +0000)]
* Adding/updating Persian translations
Aryeh Gregor [Wed, 19 Mar 2008 13:36:33 +0000 (13:36 +0000)]
Remove apparently pointless $dbw parameter to Article::updateCategoryCounts.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:23:12 +0000 (13:23 +0000)]
Patch from Sven Klemm from bug 13239: search_path tweaks for Postgres.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:15:09 +0000 (13:15 +0000)]
Use $db->conditional() instead of non-standard IF(). Fixes bug 13430.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:06:16 +0000 (13:06 +0000)]
Typo.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:02:49 +0000 (13:02 +0000)]
Add 'category' table to Postgres schema.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:02:04 +0000 (13:02 +0000)]
Take out "bools" section: we're just using smallints now
Greg Sabino Mullane [Wed, 19 Mar 2008 13:01:24 +0000 (13:01 +0000)]
Add category table.
Greg Sabino Mullane [Wed, 19 Mar 2008 12:55:11 +0000 (12:55 +0000)]
No need for (1), keep tinyint consistent with the other booleans.
Alexandre Emsenhuber [Wed, 19 Mar 2008 12:43:00 +0000 (12:43 +0000)]
In continuation of r23243: is already created by Setup.php, it don't need to set twice.
Rotem Liss [Wed, 19 Mar 2008 11:36:01 +0000 (11:36 +0000)]
Update.
Huji [Wed, 19 Mar 2008 11:23:03 +0000 (11:23 +0000)]
(bug 13137) Bots to edit protected pages
For the record: A previous effort to fix this (r31247) failed (r31462)
Tim Starling [Wed, 19 Mar 2008 11:19:00 +0000 (11:19 +0000)]
Fixed no-op update query in common code path
Huji [Wed, 19 Mar 2008 10:21:45 +0000 (10:21 +0000)]
(bug 13429) Separate date and time in message sp-newimages-showfrom
Huji [Wed, 19 Mar 2008 10:14:14 +0000 (10:14 +0000)]
* Adding/updating Persian translations
Siebrand Mazeland [Wed, 19 Mar 2008 09:14:30 +0000 (09:14 +0000)]
* update namespaces from Wikipedia -> Project
* remove messages referencing Wikipedia/Wikimedia
Siebrand Mazeland [Wed, 19 Mar 2008 09:03:29 +0000 (09:03 +0000)]
Localisation updates for core messages from Betawiki (2008-03-19 09:59 CET)
Raimond Spekking [Wed, 19 Mar 2008 08:14:05 +0000 (08:14 +0000)]
* Add some CSS ids to forms and tables
* Use proper XML functions
* Fix double escaping
* Fix indention
Raimond Spekking [Wed, 19 Mar 2008 06:33:39 +0000 (06:33 +0000)]
* Add a nice fieldset around the input form
* Fix double escaping
Tim Starling [Wed, 19 Mar 2008 03:10:31 +0000 (03:10 +0000)]
Fixed debugging code left in (since r24477)
Brion Vibber [Wed, 19 Mar 2008 00:34:49 +0000 (00:34 +0000)]
* (bug 9403) Sanitize newlines from search term input
Brion Vibber [Wed, 19 Mar 2008 00:08:58 +0000 (00:08 +0000)]
* (bug 13428) Fix regression in protection form layout HTML validity
a ; in place of a . there...
Brion Vibber [Wed, 19 Mar 2008 00:03:56 +0000 (00:03 +0000)]
* (bug 12801) Fix link in subtitle message in AJAX search
Siebrand Mazeland [Tue, 18 Mar 2008 23:54:09 +0000 (23:54 +0000)]
Add some newlines in messages consisting of multiple sentences
Brion Vibber [Tue, 18 Mar 2008 23:50:05 +0000 (23:50 +0000)]
* (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
Some general cleanup on search backend code style :)
Siebrand Mazeland [Tue, 18 Mar 2008 23:43:40 +0000 (23:43 +0000)]
All messages files rebuilt and unknown messages removed
Aaron Schulz [Tue, 18 Mar 2008 23:36:24 +0000 (23:36 +0000)]
Check permissions before using cache (bug 9432)
Raimond Spekking [Tue, 18 Mar 2008 23:16:00 +0000 (23:16 +0000)]
Localisation updates German
Aaron Schulz [Tue, 18 Mar 2008 23:14:20 +0000 (23:14 +0000)]
Pass $time on like it should
Brion Vibber [Tue, 18 Mar 2008 23:07:19 +0000 (23:07 +0000)]
Revert r32126 -- breaks type-safety by having a bunch of Revision functions which are supposed to always return strings return booleans sometimes.
Let's not toss in even more scary possibilities, please... predictability is nice!
Raimond Spekking [Tue, 18 Mar 2008 23:01:36 +0000 (23:01 +0000)]
* Remove 5 messages, unused since ages:
** 'getimagelist', 'showlast', 'byname', 'bysize', 'imgdelete'
* Regroup messages for Special:Imagelist, Special:NewImages and the image description page
* Add short descriptions to 'newimages-summary' and 'imagelist-summary' and remove their optional message status
Brion Vibber [Tue, 18 Mar 2008 23:00:14 +0000 (23:00 +0000)]
* (bug 13403) Fix cache invalidation of history pages when old revisions change
add release note line for r32119 -- thanks aaron :D
Brion Vibber [Tue, 18 Mar 2008 22:34:10 +0000 (22:34 +0000)]
Fix raw vs non-raw number formatting for {{PAGESINNS:}}
Cleanup some freaky code that does unnecessary call_user_func :)
Brion Vibber [Tue, 18 Mar 2008 21:45:18 +0000 (21:45 +0000)]
Workaround for runJobs CategoryTree issue:
* Don't bloat $this->mStripList on every setHook() call.
It adds up in batch processing until we end up with regex errors!
Siebrand Mazeland [Tue, 18 Mar 2008 21:33:47 +0000 (21:33 +0000)]
Localisation updates for core messages from Betawiki (2008-03-18 22:19 CET)
Raimond Spekking [Tue, 18 Mar 2008 20:29:46 +0000 (20:29 +0000)]
* Add a nice fieldset around the input form
* Use proper XML function
Bertrand Grondin [Tue, 18 Mar 2008 19:56:11 +0000 (19:56 +0000)]
Localisation updates for extensions messages from Betawiki
Aaron Schulz [Tue, 18 Mar 2008 19:37:03 +0000 (19:37 +0000)]
*Return false when a user cannot see a field of a revision, rather than "", which could actually be valid
*Remove now unneeded perm checks in diffEng
*Fix unsafe cache leak for diffs (bug 9432)
Roan Kattouw [Tue, 18 Mar 2008 19:31:02 +0000 (19:31 +0000)]
API:
* (bug 13418) Disable eiredirect because it's useless (see also Bugzilla)
* (bug 13419) Make gblredirect actually work
Aaron Schulz [Tue, 18 Mar 2008 18:58:03 +0000 (18:58 +0000)]
Cleanup some log item display for Enhanced RC (thanks to ialex for pointing out code oddness)
Raimond Spekking [Tue, 18 Mar 2008 18:51:41 +0000 (18:51 +0000)]
Localisation updates German
Aaron Schulz [Tue, 18 Mar 2008 18:43:03 +0000 (18:43 +0000)]
*Use page_touched to deal with client side history caching min timestamp. This handles imports/revisiondelete/deletion/tagging properly. (bug 13403)
Alexandre Emsenhuber [Tue, 18 Mar 2008 16:56:52 +0000 (16:56 +0000)]
Doc cleanup:
* Remove deprecated "@package MediaWiki" from comments
* Kill ending ?> tag in AdminSettings.sample
* remove uneeded comment in SpecialPage.php
* update some links to docs/skin.txt instead of skin.txt
Rotem Liss [Tue, 18 Mar 2008 16:05:43 +0000 (16:05 +0000)]
Update.
Raimond Spekking [Tue, 18 Mar 2008 15:31:55 +0000 (15:31 +0000)]
* Add a nice fieldset around the input form
* Use proper XML function
Roan Kattouw [Tue, 18 Mar 2008 15:17:24 +0000 (15:17 +0000)]
(bug 13390) Invalid title no longer kills an entire API query
Roan Kattouw [Tue, 18 Mar 2008 14:59:44 +0000 (14:59 +0000)]
Partial revert of r32097: please don't introduce this hybrid behavior thing, it'll only confuse people (has been discussed before). Spending 9 bytes on "Category:" won't kill anyone and ensures consistency with iutitle
Aryeh Gregor [Tue, 18 Mar 2008 13:18:06 +0000 (13:18 +0000)]
Don't require commandLine.inc when not using the command line; instead, move wfWaitForSlaves() to GlobalFunctions.php, which is where I expected it to be to begin with. That appears, sensibly, to be loaded by all code paths. While I'm there, add some documentation.
Bertrand Grondin [Tue, 18 Mar 2008 12:42:22 +0000 (12:42 +0000)]
*Fix bug when using Mediawiki updater command line.
*Prevent redeclaring wfWaitForSlaves ()
Huji [Tue, 18 Mar 2008 10:27:22 +0000 (10:27 +0000)]
* Adding/updating Persian translations
Bertrand Grondin [Tue, 18 Mar 2008 10:12:22 +0000 (10:12 +0000)]
Localisation updates for extensions messages from Betawiki
Domas Mituzas [Tue, 18 Mar 2008 09:54:43 +0000 (09:54 +0000)]
move global constants to class-specific constants, to avoid collisions with Memcache PECL
Aaron Schulz [Tue, 18 Mar 2008 08:31:01 +0000 (08:31 +0000)]
Clean up some undefined variable errors
Victor Vasiliev [Tue, 18 Mar 2008 08:14:08 +0000 (08:14 +0000)]
* Use "title" instead of "category"
* Support both "Category:Test" and "Test" format
* Fix notice about undefined index
Bertrand Grondin [Tue, 18 Mar 2008 07:58:21 +0000 (07:58 +0000)]
Fix bug when using Mediawiki Installer.
fix the following message error :
Fatal error: Call to undefined function wfWaitForSlaves() in maintenance/populateCategory.inc on line 66
This wfWaitForSlaves() function exists only in commandLine.inc but updater can't call it when not using command line tool.
Adding this function in the end of populateCategory.inc.
Raimond Spekking [Tue, 18 Mar 2008 06:10:06 +0000 (06:10 +0000)]
Fix for r32085:
* Add new messages to maintenance/language/messages.inc
* Move categories related messages to a more logical section (WTH is the relation to spamprotection o_O ?)
Raimond Spekking [Tue, 18 Mar 2008 05:57:15 +0000 (05:57 +0000)]
Fix for r32085: Use the correct message names
Greg Sabino Mullane [Tue, 18 Mar 2008 01:39:36 +0000 (01:39 +0000)]
Add updatelog table.
Greg Sabino Mullane [Tue, 18 Mar 2008 01:32:57 +0000 (01:32 +0000)]
Allow signed int types. Kinda redundant, but hey...
Aryeh Gregor [Tue, 18 Mar 2008 00:17:28 +0000 (00:17 +0000)]
This is a schema change. It's only a table creation, but the table must be created on Wikimedia servers before this revision goes live. The maintenance script populateCategory.php should be run when convenient. If it's not run, there's only one substantial case where display will be harmed: the page of a category with more than 200 net pages added since the patch goes live will give an erroneously low count. In other cases category pages will just be better-worded, and it will recognize the count in the table is bogus.
* Adds Category and CategoryList classes to represent categories themselves.
* Adds a category table, giving each category a name, ID, and counts of all members, subcats only, and files.
* Adds a maintenance script to populate the category table efficiently. This script is careful to wait for slaves and should be safe to run on a live database. The maintenance script's includes file is called by update.php.
* Until the category table is populated, the patch handles weird category table rows gracefully. It detects whether they're obviously impossible, and if so, it outputs appropriate messages.
Aryeh Gregor [Tue, 18 Mar 2008 00:06:06 +0000 (00:06 +0000)]
Add updatelog table to reliably permit updates that don't change the schema. A fairly trivial patch. It isn't used at all currently (it will be in a minute!), and presumably won't ever be used outside of update.php, so it can be ignored for Wikimedia despite being a schema change.
Raimond Spekking [Mon, 17 Mar 2008 23:25:00 +0000 (23:25 +0000)]
* Add a nice fieldset around the input form
* Found CSS classes for aligning in shared.css -> use them!
Raimond Spekking [Mon, 17 Mar 2008 22:17:49 +0000 (22:17 +0000)]
Localisation updates German
Huji [Mon, 17 Mar 2008 21:36:53 +0000 (21:36 +0000)]
* Adding/updating Persian translations
Huji [Mon, 17 Mar 2008 21:34:06 +0000 (21:34 +0000)]
(bug 13407) MediaWiki:Powersearch is used in two places
Raimond Spekking [Mon, 17 Mar 2008 21:05:15 +0000 (21:05 +0000)]
Some rework on 'mainUploadForm':
* Add a nice fieldset around the input form
* Add a CSS id for the table
* Found CSS classes for aligning in shared.css -> use them!
* Fix indention
Antoine Musso [Mon, 17 Mar 2008 20:31:33 +0000 (20:31 +0000)]
Fix #13265 : image/x-bmp not handled
Roan Kattouw [Mon, 17 Mar 2008 20:13:22 +0000 (20:13 +0000)]
API: Adding more detail in credits
Aaron Schulz [Mon, 17 Mar 2008 19:57:31 +0000 (19:57 +0000)]
File should still count as existing if hidden
Aaron Schulz [Mon, 17 Mar 2008 19:23:47 +0000 (19:23 +0000)]
*Fix some escaping issues
*$remaining and such were not getting used anymore, use them again.
Roan Kattouw [Mon, 17 Mar 2008 18:51:32 +0000 (18:51 +0000)]
API: Adding aiprop parameter to list=allimages, some cleanup
Roan Kattouw [Mon, 17 Mar 2008 18:16:51 +0000 (18:16 +0000)]
API: Updating action=help credits to give Yuri and Vasiliev due credit
Raimond Spekking [Mon, 17 Mar 2008 17:46:12 +0000 (17:46 +0000)]
Fix double escaping
Rotem Liss [Mon, 17 Mar 2008 17:34:09 +0000 (17:34 +0000)]
Fix.
Victor Vasiliev [Mon, 17 Mar 2008 15:38:17 +0000 (15:38 +0000)]
I hate it. Sure
Victor Vasiliev [Mon, 17 Mar 2008 15:28:52 +0000 (15:28 +0000)]
Whoops, it's case-sensitive!
Victor Vasiliev [Mon, 17 Mar 2008 15:25:03 +0000 (15:25 +0000)]
Yes, and also I forgot autoloader
Raimond Spekking [Mon, 17 Mar 2008 13:52:53 +0000 (13:52 +0000)]
Localisation updates German
Purodha B Blissenbach [Mon, 17 Mar 2008 13:52:01 +0000 (13:52 +0000)]
Fix some minor glitches and grammar broken by recent modifications.
Victor Vasiliev [Mon, 17 Mar 2008 09:16:38 +0000 (09:16 +0000)]
Forgot to svn add it
Victor Vasiliev [Mon, 17 Mar 2008 08:25:22 +0000 (08:25 +0000)]
* Introduced list=allimages
* (bug 13371) Build page set from image hashes
* Mark non-existent messages in meta=allmessages as missing
Rotem Liss [Mon, 17 Mar 2008 07:29:09 +0000 (07:29 +0000)]
Fixes.
Rotem Liss [Mon, 17 Mar 2008 07:28:27 +0000 (07:28 +0000)]
Fix.
Rotem Liss [Mon, 17 Mar 2008 07:11:00 +0000 (07:11 +0000)]
Fix.
Aaron Schulz [Sun, 16 Mar 2008 21:24:52 +0000 (21:24 +0000)]
Might as well show username here if allowed
Aaron Schulz [Sun, 16 Mar 2008 21:02:10 +0000 (21:02 +0000)]
r32045 committed from wrong working branch. Revert and commit the one I wanted.
Aaron Schulz [Sun, 16 Mar 2008 20:59:59 +0000 (20:59 +0000)]
Load extra RC fields
Aaron Schulz [Sun, 16 Mar 2008 20:49:24 +0000 (20:49 +0000)]
Select extra RC columns